# -*- codeing = utf-8 -*-
# @Time : 2024/5/4 19:39
# @Author : huangjing
# @File : demo.py
# @Software : PyCharm
import numpy as np
from mindspore import dataset as ds
s = np.random.randn(1, 2, 3, 3)
shape = s.shape
l = len(shape)
print(l)
print(shape[0])
print(shape[1])